<!DOCTYPE html>
<html>
<head>
	<div th:include="base-libs-easyui :: base-libs-easyui" />
<title>医疗机构信息</title>
<style type="text/css">
	body {
		padding: 0px 10px;
	}
	.form-table{
		width: 1143px;
		margin: 2px auto;
	}
	.form-table input{
		width: 206px;
		padding-left: 4px;
	}

	textarea{
		height: 60px;
		padding: 4px;
	}
	.td-textare{
		padding-right: 38px!important;
	}

	.form-table textarea{
		width: 100%;
	}

	.form-table select{
		width: 212px!important;
	}
	.td-text{
		width: 120px;
		vertical-align: middle!important;
	}
	.td-content{
		width: 230px!important;
	}

	.tree-icon{
		display: none;
	}

	.easyui-tabs{
		border-bottom: 1px solid #ccc;
		border-right: 1px solid #ccc;
		border-left: 1px solid #ccc;
		background: #f0f0f0;
	}

	.upload-img-box{
		height: 120px;
		border: 1px solid #ccc;
	}

	.xzqh-item{
		padding: 2px 10px;
		text-decoration: none !important;
		cursor: pointer;
		margin: 2px 4px;
		display: inline-block;
	}

	.xzqh-unselected:hover {
		background-color: #dcedfe;
	}

	.xzqh-selected {
		background-color: #2e80e6;
		color: #FFF;
	}
	.xzqh-selected:hover {
		color: #FFF!important;
	}
</style>
</head>
<script th:inline="javascript">
	/**读取request中的初始化数据*/
	var requestData = [[${requestData}]];
    var xzqhdm = [[${xzqhdm}]];
</script>
<script type="text/javascript">

	$(function() {
        initView();
	    $(this).registerManagerPage({
            cacheTables: ["TB_ZY_JGLB"]
            ,callback: initData
		});
	});

	/** 禁用标签(查看机构信息时运行) */
	function disabledTags(){
        $("input,select,textarea").attr("disabled","disabled");
        $("#combTreeWsjglb").combotree({readonly: true}); //卫生机构类别
        $("#combogridSjzgjg").combogrid({readonly:true}); //上级主管机构
        $("#btnUploadFile,#btnSave").remove();//上传图片按钮 + 保存按钮
        $("#xzqhdmPop").quickCombTabXzqh("disable");
        $("#dzxzqhPop").quickCombTabXzqh("disable");
	}
	
	function initData(cacheData)
	{
	    var onlyQuery = StoreCache.removeCache("onlyQuery"); //是否只提供查看
	    if(onlyQuery){
			disabledTags();
		}
        /*卫生机构类别*/
        var ary = cacheData["TB_ZY_JGLB"];
        var dsTree = $.QuickEasyUIUtils.createTreeList(ary.concat(), ary[0]["SJDM"], "XMDM", "XMMC", "SJDM");
        $("#combTreeWsjglb").combotree("loadData", dsTree);

		var yljgxx = StoreCache.removeCache("cache_yljgxx");
		if(yljgxx)
		{
		    /*格式化日期*/
		    var rq = yljgxx["DWCLRQ"];
		    if(!StringUtils.isEmpty(rq)){
                yljgxx["DWCLRQ"] = rq.substring(0, 10);
			}
            rq = yljgxx["DWCXRQ"];
            if(!StringUtils.isEmpty(rq)){
                yljgxx["DWCXRQ"] = rq.substring(0, 10);
            }
//            $("#xzqhdmPop").quickCombTabXzqh("disable");
			$("#formYljgxx").data("yljgxx", yljgxx);
			$(".form-control").each(function(){
				var name = $(this).attr("name");
				/*特殊控件另外赋值*/
				if(!StringUtils.isEmpty(name) && name != "XZQHDM" && name!="DZXZQH" && name != "WSJGLBDM" && name != "SJZGJGID"){
                    var value = yljgxx[name];
					$(this).QuickField("setData", value);
				}
			});
            setWSJGLBDM(yljgxx);
            setSJZGJGID(yljgxx);
			$("#YLJGDM").attr("disabled", "disabled");
			var XZQHDM = yljgxx["XZQHDM"];
            XzqhUtils.getSjxzqh({
                xzqhdm: XZQHDM
                ,callback: function(xzqh){
                    $("#xzqhdmPop").quickCombTabXzqh("loadData", xzqh);
                    $("#xzqhdmPop").quickCombTabXzqh("setData", XZQHDM);
                }
            });
            var DZXZQH = yljgxx["DZXZQH"];
            XzqhUtils.getSjxzqh({
                xzqhdm: DZXZQH
                ,callback: function(xzqh){
                    $("#dzxzqhPop").quickCombTabXzqh("loadData", xzqh);
                    $("#dzxzqhPop").quickCombTabXzqh("setData", DZXZQH);
                }
            });
            /*机构图片*/
            var TPID = yljgxx["TPID"];
            if(!StringUtils.isEmpty(TPID)){
				$("#JGTP").attr("src", contextRoot+"/yljgxx/receiveJgtp.service?id="+TPID);
			}
		}else{
            /*XzqhUtils.getAll({
                callback: function(xzqh){
                    $("#xzqhdmPop").quickCombTabXzqh("loadData", xzqh);
                    $("#dzxzqhPop").quickCombTabXzqh("loadData", xzqh);
                }
            });*/
            XzqhUtils.getSjxzqh({
                xzqhdm: xzqhdm
                ,callback: function(xzqh){
                    $("#xzqhdmPop").quickCombTabXzqh("loadData", xzqh);
                    $("#xzqhdmPop").quickCombTabXzqh("setData", xzqhdm);
                    $("#xzqhdmPop").quickCombTabXzqh("disable",xzqhdm);
                }
            });
		}
	}

	function initView() {
        $("#btnSave").on("click", btnSaveHandler);
        $("#btnBack").on("click", btnBackHandler);
		$("#btnUploadFile").on("click", btnUploadFileHandler);
		$("#uploadFile").on("change", uploadFileChangeHandler);
        /*机构地址行政区划*/
        $("#xzqhdmPop").quickCombTabXzqh({
            quickConfig: {
                label:'行政区划'
                ,validateProxy:'notNull'
                ,length: '8'
				//,initXzqh : xzqhdm
			}
            ,closeHandler: function(data){
                /*如果地址信息为空 则赋值*/
                var dzxx = $("#dzxzqhPop").quickCombTabXzqh("getData");
                if(StringUtils.isEmpty(dzxx)){
                    var ds = $(this).quickCombTabXzqh("getDS");
                    $("#dzxzqhPop").quickCombTabXzqh("loadData", ds);
                    $("#dzxzqhPop").quickCombTabXzqh("setData", data);
				}
			}
		});

        $("#dzxzqhPop").quickCombTabXzqh({
			textField: "XZQHQMC"
        });

		$("#formYljgxx").attr("action", contextRoot + "/yljgxx/save");

		$("#combTreeWsjglb").combotree({
            height: 30
            ,width: 212
			,panelWidth: 212
			,editable: true
		})

		$("#combogridSjzgjg").combogrid({
			height: 30
            ,width: 212
			,panelWidth: 500
			,singleSelect: true
			,pagination: true
			,idField: 'PTJGID'
			,textField: 'YLJGMC'
            ,mode: "remote"
			,url: contextRoot + "/yljgxx/queryPageSummary.service"
            ,columns:[[
                {
                    field:'YLJGMC'
					,title:'机构名称'
					,width:240
				}
				,{
                    field:'XZQHMC'
                    ,title:'行政区划'
                    ,width:80
                }
                ,{
                    field:'WSJGLBMC'
                    ,title:'机构类别'
                    ,width:80
                }
                ,{
                    field:'YYDJMC'
                    ,title:'机构等级'
                    ,width:80
                }
            ]]
            ,onBeforeLoad: function(queryParams) {
                var url = $(this).datagrid("options")["url"];
				/*URL不等空时再发送请求*/
                if (!StringUtils.isEmpty(url)) {
                    queryParams["pageSize"] = queryParams["rows"];
                    queryParams["pageNumber"] = queryParams["page"];
                    queryParams["YLJGMC"] = queryParams["q"];
                    return true;
                }else{
                    return false;
                }
            }
            ,onHidePanel: function(){
			    var grid = $("#combogridSjzgjg").combogrid("grid");
				var value = $(grid).datagrid("getSelected");
				if(!value){
                    $("#combogridSjzgjg").combogrid("clear");
				}
			}
		})

        layui.use('laydate', function(){
            var laydate = layui.laydate;

            var start = {
                max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    end.min = datas; //开始日选好后，重置结束日的最小日期
                    end.start = datas //将结束日的初始值设定为开始日
                }
            };

            var end = {
                min: laydate.now()
                ,max: '2099-06-16 23:59:59'
                ,istoday: false
                ,choose: function(datas){
                    start.max = datas; //结束日选好后，重置开始日的最大日期
                }
            };

            document.getElementById('DWCLRQ').onclick = function(){
                start.elem = this;
                laydate(start);
            }
            document.getElementById('DWCXRQ').onclick = function(){
                end.elem = this;
                laydate(end);
            }
        });
	}
	
	/**保存回调*/
	function btnSaveHandler()
	{
		if($(".form-control").QuickValidate())
		{
			var params = {};
			var data = $("#formYljgxx").data("yljgxx");
			if(data)
			{
				params["PTJGID"] = data["PTJGID"];
			}
            params["XZQHDM"] = $("#xzqhdmPop").quickCombTabXzqh("getData");
            params["DZXZQH"] = $("#dzxzqhPop").quickCombTabXzqh("getData");
            params["JGTP"] = $("#JGTP").val();
			$.QuickRemote.AjaxFiledFormSubmit("formYljgxx", saveHandler, params);
		}
	}
	function saveHandler(result)
	{
		var state = result["state"];
		if(state)
		{
			$.QuickAlert.alertNormal("保存成功", {callback: function(){
				$("#btnBack").trigger("click");
			}});
		}
		else
		{
			var info = result["info"];
			$.QuickAlert.alertFail({content: info["faultInfo"]});
		}
	}

	/**验证其他控件的值*/
	function validate(){
	}

	/**返回回调*/
	function btnBackHandler()
	{
//		$.QuickUrlUtils.redirectUrl("index.html");
        $.QuickUrlUtils.back();
	}

	/*获取设置卫生机构类别*/
	function getWSJGLBDM(){
	    var value = $.QuickEasyUIUtils.getComboValue("combTreeWsjglb");
	    /*按照form表单的方式将值带到后台 不用显示用params赋值*/
        $("#combTreeWsjglb").val(value);
        return value;
	}
	function setWSJGLBDM(yljgxx){
		/*设置卫生机构类别*/
        $("#combTreeWsjglb").val(yljgxx["WSJGLBDM"]);
        $.QuickEasyUIUtils.setComboTreeValue("combTreeWsjglb", yljgxx["WSJGLBDM"]);
	}

	/*获取设置校验上级主管机构*/
	function getSJZGJGID(){
	    var value = $.QuickEasyUIUtils.getComboValue("combogridSjzgjg");
        $("#combogridSjzgjg").val(value);
        return value;
	}
	function setSJZGJGID(yljgxx){
		/*设置上级主管机构*/
        $("#combogridSjzgjg").val(yljgxx["SJZGJGID"]);
        $("#combogridSjzgjg").combogrid("setValue", {PTJGID: yljgxx["SJZGJGID"], YLJGMC: yljgxx["SJZGJGMC"]});
	}
	function validSJZGJGID(){
        var value = $.QuickEasyUIUtils.getComboValue("combogridSjzgjg");
        if(!StringUtils.isEmpty(value)){
            var yljgxx = $("#formYljgxx").data("yljgxx");
            if(yljgxx && yljgxx["PTJGID"] == value){
                return "上级主管机构不能是本机构";
            }
        }
        return "";
	}

	/**上传图片回调*/
	function btnUploadFileHandler(){
		$("#uploadFile").trigger("click");
	}
	function uploadFileChangeHandler(evt){
        if(window.FileReader) {
            var file = this.files[0];
            if(!/image\/\w+/.test(file.type)){
                showMsg("请选择一张图片文件");
                return false;
            }
            $("#JGTP").hide();
            var reader = new FileReader();
            reader.readAsDataURL(file);
            reader.onloadstart = function(e){
                $.QuickAlert.alertLoading();
            };
            reader.onprogress = function(e){
                $.QuickAlert.alertLoading();
            };
            reader.onloadend = function(e){
                parent.layer.closeAll();
            };
            reader.onabort = function(e){
                $.QuickAlert.alertFail({
					content: "上传被意外中断，请重试"
				});
                parent.layer.closeAll();
                return false;
            };
            reader.onerror = function(e){
                $.QuickAlert.alertFail({
                    content: "上传出现错误，请重试"
                });
                parent.layer.closeAll();
                return false;
            };
            reader.onload = function(e){
                $("#JGTP").attr('src', e.target.result);
                $("#JGTP").fadeIn(200);
                parent.layer.closeAll();
            };
        } else {
            $.QuickAlert.alertNormal("浏览器版本太低，请升级您的浏览器!");
        }
	}
</script>

<body class="easyui-layout">
	<div region="north" style="height: 41px; border: none; overflow: hidden; background-color: #f9f9f9;">
		<div class="title">
			<h3>机构信息</h3>
		</div>
	</div>
	<div region="center" style="border: none;">
		<div class="easyui-layout" fit="true" style="border: none">
			<div region="north" style="height: 41px; padding-top: 6px;">
				<button id="btnBack" type="button" style=" margin-left: 10px;">返回</button>
				<button id="btnSave" type="button" style=" margin-left: 10px;">保存</button>
			</div>
			<div region="center" style="; overflow-x: hidden;">
				<form id="formYljgxx" enctype="multipart/form-data">
					<div title="机构基本信息" class="easyui-panel" style="margin-bottom: 4px; overflow: hidden;" data-options="collapsible:true">
						<table class="form-table">
							<tr>
								<td class="td-text" rowspan="4">
									<label>机构图片</label>
								</td>
								<td rowspan="4">
									<div class="upload-img-box">
										<img id="JGTP" style="width: 100%; height: 100%; display: inline;"
											 th:src="@{../imgs/choice.jpg}">
									</div>
									<div style="padding: 2px; text-align: center;">
										<button id="btnUploadFile" type="button">上传图片</button>
										<input id="uploadFile" name="uploadFile" style="display: none;" type="file" multiple="multiple">
									</div>
								</td>
								<td class="td-text">
									<label>行政区划</label>
								</td>
								<td class="td-content">
									<div id="xzqhdmPop" name="XZQHDM" style="width: 210px; position: relative; border: 1px solid #ccc; cursor: pointer; display: inline-block;">
										<div style="width: 100%; height: 30px; margin-right: 18px; display: inline; padding-left: 4px;">
											<span class="xzqh-content">请选择行政区划</span>
										</div>
										<span class="searchbox-button" style="position: absolute; float: right; right: 0px; margin-top: 5px;"></span>
										<div class="easyui-tabs-container">
											<div class="easyui-tabs" data-options="justified:true"
												 style="height: 200px; width: 400px; position: absolute; z-index: 999999; background-color: #FFF; outline: 0;">
												<div title="省份" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="城市" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="区县" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="街道" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
											</div>
										</div>
									</div>
								</td>
								<td class="td-text">
									<label>机构代码</label>
								</td>
								<td class="td-content">
									<input class="form-control" id="YLJGDM" name="YLJGDM" type="text" placeholder="机构代码"
										   quick-config="label:'机构代码', validateProxy:'notNull length', length: '64'"/>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>机构名称</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="YLJGMC" type="text" placeholder="机构名称"
										   quick-config="label:'机构名称', validateProxy:'notNull length', length: '50'"/>
								</td>
								<td class="td-text">
									<label>机构简称</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="JGJC" type="text" placeholder="机构简称"
										   quick-config="label:'机构简称', validateProxy:'length', length: '50'"/>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>机构全拼</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="YLJGMCQP" type="text" placeholder="机构全拼" readonly="readonly"/>
								</td>
								<td class="td-text">
									<label>机构简拼</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="YLJGMCJP" type="text" placeholder="机构简拼" readonly="readonly"/>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>经济类型</label>
								</td>
								<td class="td-content">
									<select class="form-control" name="JGJJLXDM" cacheTable="TB_ZY_JJLXFL" placeholder="经济类型"
											quick-config="label:'经济类型', validateProxy:'notNull length', length: '50'">
									</select>
								</td>
								<td class="td-text">
									<label>卫生机构类别</label>
								</td>
								<td class="td-content">
									<input id="combTreeWsjglb" name="WSJGLBDM" class="form-control"
										   quick-config="label:'卫生机构类别', validateProxy:'notNull length', length: '10', getDataFunction: 'getWSJGLBDM', setDataFunction: 'setWSJGLBDM'">
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>分类管理</label>
								</td>
								<td class="td-content">
									<select class="form-control" name="JGFLGLDM" cacheTable="TB_ZY_JGFLGL" placeholder="分类管理"
											quick-config="label:'分类管理', validateProxy:'notNull length', length: '50'">
									</select>
								</td>
								<td class="td-text">
									<label>医院等级</label>
								</td>
								<td class="td-content">
									<select class="form-control" name="YYDJDM" cacheTable="TB_ZY_YYDJ" placeholder="医院等级"
											quick-config="label:'医院等级', validateProxy:'notNull length', length: '50'">
									</select>
								</td>
								<td class="td-text">
									<label>上级主管机构</label>
								</td>
								<td class="td-content">
									<input id="combogridSjzgjg" class="form-control" name="SJZGJGID"
										   quick-config="label:'上级主管机构', validateProxy:'validSJZGJGID length', length: '64', getDataFunction: 'getSJZGJGID', setDataFunction: 'setSJZGJGID'"/>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>邮政编码</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="YZBM" type="text" placeholder="邮政编码"
										   quick-config="label:'邮政编码', validateProxy:'length', length: '50'">
									</input>
								</td>
								<td class="td-text">
									<label>单位电话</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="DWDH" type="text" placeholder="单位电话"
										   quick-config="label:'单位电话', validateProxy:'length', length: '50'">
									</input>
								</td>
								<td class="td-text">
									<label>单位传真</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="DWCZ" type="text" placeholder="单位传真"
										   quick-config="label:'单位传真', validateProxy:'length', length: '50'">
									</input>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>电子邮箱</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="DWDZYX" type="text" placeholder="电子邮箱"
										   quick-config="label:'电子邮箱', validateProxy:'length', length: '50'">
									</input>
								</td>
								<td class="td-text">
									<label>单位成立日期</label>
								</td>
								<td class="td-content">
									<input class="layui-input form-control" style="height: 30px; width: 212px;"
										   placeholder="单位成立日期" id="DWCLRQ" name="DWCLRQ"
										   quick-config="label:'单位成立日期', validateProxy:'length D10', length: '10'">
								</td>
								<td class="td-text">
									<label>单位撤销日期</label>
								</td>
								<td class="td-content">
									<input class="layui-input form-control" style="height: 30px; width: 212px;"
										   placeholder="单位撤销日期" id="DWCXRQ" name="DWCXRQ"
										   quick-config="label:'单位撤销日期', validateProxy:'length', length: '10'">
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>机构详细地址</label>
								</td>
								<td colspan="5">
									<div id="dzxzqhPop" name="DZXZQH" style="width: 210px; position: relative; border: 1px solid #ccc; cursor: pointer; display: inline-block;">
										<div style="width: 100%; height: 30px; margin-right: 18px; display: inline; padding-left: 4px;">
											<span class="xzqh-content">请选择行政区划</span>
										</div>
										<span class="searchbox-button" style="position: absolute; float: right; right: 0px; margin-top: 5px;"></span>
										<div class="easyui-tabs-container">
											<div class="easyui-tabs" data-options="justified:true"
												 style="height: 160px; width: 500px; position: absolute; z-index: 999999; background-color: #FFF; outline: 0;">
												<div title="省份" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="城市" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="区县" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
												<div title="街道" style="padding:10px">
													<dl>
														<dd>
														</dd>
													</dl>
												</div>
											</div>
										</div>
									</div>
									<input class="form-control" name="DWDZ" type="text" placeholder="机构详细地址"
										   style="width: 754px;"
										   quick-config="label:'机构详细地址', validateProxy:'notNull length', length: '100'">
									</input>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>诊疗科目</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="ZLKM" type="text" placeholder="诊疗科目"
										quick-config="label:'诊疗科目', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>机构简介</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="JGJJ" placeholder="机构简介"
										quick-config="label:'机构简介', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
						</table>
					</div>
					<div title="机构人员信息" class="easyui-panel" style="border-top: none; margin-bottom: 4px; overflow: hidden;" data-options="collapsible:true">
						<table class="form-table">
							<tr>
								<td class="td-text">
									<label>职工人数</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="ZGRS" type="text" placeholder="职工人数"
										   quick-config="label:'职工人数', validateProxy:'notNull length', length: '10'">
									</input>
								</td>
								<td class="td-text">
									<label>医生数</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="YSS" type="text" placeholder="医生数"
										   quick-config="label:'医生数', validateProxy:'notNull length', length: '10'">
									</input>
								</td>
								<td class="td-text">
									<label>护士数</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="HSS" type="text" placeholder="护士数"
										   quick-config="label:'护士数', validateProxy:'notNull length', length: '10'">
									</input>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>医技人员数</label>
								</td>
								<td colspan="5">
									<input class="form-control" name="YJRYS" type="text" placeholder="医技人员数"
										   quick-config="label:'医技人员数', validateProxy:'notNull length', length: '10'">
									</input>
								</td>
							</tr>
						</table>
					</div>
					<div title="机构法人信息" class="easyui-panel" style="border-top: none; margin-bottom: 4px; overflow: hidden;" data-options="collapsible:true">
						<table class="form-table">
							<tr>
								<td class="td-text">
									<label>法人代表</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="DWFRDB" type="text" placeholder="法人代表"
										   quick-config="label:'法人代表', validateProxy:'length', length: '50'">
									</input>
								</td>
								<td class="td-text">
									<label>法人代表身份证</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="FRDBSFZ" type="text" placeholder="法人代表身份证"
										   quick-config="label:'法人代表身份证', validateProxy:'length', length: '50'">
									</input>
								</td>
								<td class="td-text">
									<label>法人代表电话</label>
								</td>
								<td class="td-content">
									<input class="form-control" name="FRDBDH" type="text" placeholder="法人代表电话"
										   quick-config="label:'法人代表电话', validateProxy:'length', length: '50'">
									</input>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>法人代表手机</label>
								</td>
								<td colspan="5">
									<input class="form-control" name="FRDBSJ" type="text" placeholder="法人代表手机"
										   quick-config="label:'法人代表手机', validateProxy:'length', length: '50'">
									</input>
								</td>
							</tr>
						</table>
					</div>
					<div title="机构相关信息" class="easyui-panel" style="border-top: none; margin-bottom: 4px; overflow: hidden;" data-options="collapsible:true">
						<table class="form-table">
							<tr>
								<td class="td-text">
									<label>著名专家</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="ZMZJ" type="text" placeholder="著名专家"
											  quick-config="label:'著名专家', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>特色专科</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="TSZK" type="text" placeholder="特色专科"
											  quick-config="label:'特色专科', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>医学保障</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="YXBZ" type="text" placeholder="医学保障"
											  quick-config="label:'医学保障', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>医学研究</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="YXYJ" type="text" placeholder="医学研究"
											  quick-config="label:'医学研究', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
							<tr>
								<td class="td-text">
									<label>社会服务</label>
								</td>
								<td colspan="5" class="td-textare">
									<textarea class="form-control" name="SHFW" type="text" placeholder="社会服务"
											  quick-config="label:'社会服务', validateProxy:'length', length: '1000'"></textarea>
								</td>
							</tr>
						</table>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>


















































